package cn.jobstart.searchExt;

import cn.jobstart.model.Person;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.jobstart.search.PersonSearch;
import lombok.experimental.Accessors;


/**
*    @author sunke
*    @Date 2023-09-06 15:00:20
*    @description PersonSearchExt      人才账号
*/
@Data
@Accessors(chain = true)
@ApiModel("人才账号PersonSearchExt")
public class PersonSearchExt extends PersonSearch<PersonSearchExt> {


    private String phoneEq;

    public PersonSearchExt setPhoneEq(String phoneEq) {
        this.phoneEq = phoneEq;
        setEqualField(Person.PHONE,phoneEq);
        return this;
    }

    public static PersonSearchExt getInstance() {
        return new PersonSearchExt();
    }


    @Override
    public PersonSearchExt getSubThis() {
        return this;
    }

}

